namespace OFX.Aggregator.Infrastructure
{
	#region #using Directives

	using System;
	using System.Collections.ObjectModel;
	using System.Diagnostics;

	#endregion

	[Serializable]
	[DebuggerDisplay("Id = {Id}, StatementLines.Count = {StatementLines.Count}")]
	public class PaymentOriginator
	{
		[DebuggerBrowsable(DebuggerBrowsableState.Never)] private Collection<StatementLine> statementLines = new Collection<StatementLine>();

		public string Id { get; set; }

		public Collection<StatementLine> StatementLines
		{
			[DebuggerStepThrough]
			get { return this.statementLines; }
			[DebuggerStepThrough]
			set { this.statementLines = value; } // The only reason this property is not read-only is because of XML serialization
		}
	}
}